export const record_url = 'http://vop.baidu.com/server_api';

export function getUrl(baseUrl, isWebSocket?: boolean, isSSL: boolean = false) {
  let urlHead = "";
  if (isWebSocket) {
    urlHead = "ws"
  } else {
    urlHead = "http"
  }
  if (isSSL) {
    urlHead += "s://"
  } else {
    urlHead += "://"
  }
  return urlHead += baseUrl;
}
